// Author: Domien Nowicki

#ifndef TEXTUREITEMDELEGATE_H
#define TEXTUREITEMDELEGATE_H

#include "Texture.h"


#include <QModelIndex>
#include <QPixmap>
#include <QSize>
#include <QItemDelegate>
#include <QPainter>

class TextureItemDelegate : public QItemDelegate
{
	public:
		TextureItemDelegate(QObject *parent);
		virtual ~TextureItemDelegate();

	protected:
		void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
		QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;

	private:
};

#endif // TEXTUREITEMDELEGATE_H
